home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / rectco.z / rectco
Encoding:
Text File  |  2002-10-03  |  4.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. rrrreeeeccccttttccccoooo((((3333GGGG))))                                                          rrrreeeeccccttttccccoooo((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rrrreeeeccccttttccccoooo - copies a rectangle of pixels with an optional zoom
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrreeeeccccttttccccoooo((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222,,,, nnnneeeewwwwxxxx,,,, nnnneeeewwwwyyyy))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222,,,, nnnneeeewwwwxxxx,,,, nnnneeeewwwwyyyy
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _x_1     expects the x coordinate of one corner of the rectangle.
  17.  
  18.      _y_1     expects the y coordinate of one corner of the rectangle.
  19.  
  20.      _x_2     expects the x coordinate of the opposite corner of the rectangle.
  21.  
  22.      _y_2     expects the y coordinate of the opposite corner of the rectangle.
  23.  
  24.      _n_e_w_x   expects the x coordinate of the lower-left corner of the new
  25.             position of the rectangle.
  26.  
  27.      _n_e_w_y   expects the y coordinate of the lower-left corner of the new
  28.             position of the rectangle.
  29.  
  30. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.      rrrreeeeccccttttccccoooo copies a rectangular array of pixels (_x_1, _y_1, _x_2, _y_2) to another
  32.      position on the screen.  The current viewport and screenmask mask the
  33.      drawing of the copied region.  Self-intersecting copies work correctly in
  34.      all cases.
  35.  
  36.      Use rrrreeeeaaaaddddssssoooo to specify the front buffer, the back buffer, the z-buffer, or
  37.      the optional Live Video Digitizer frame buffer as the source.  When using
  38.      the Live Video Digitizer as the readsource, the coordinate arguments
  39.      should be specified relative to a video origin of (0,0).
  40.  
  41.      On machines that support it, you can use rrrreeeeccccttttzzzzoooo to independently zoom the
  42.      destination in both the _x and _y directions. Self-intersecting copies with
  43.      zoom also work correctly. Likewise, on machines that support it, ppppiiiixxxxmmmmoooodddd
  44.      can be used to greatly affect the copy operation.  Pixel shifts,
  45.      reflections, and numeric offsets are all possible.
  46.  
  47.      Use ffffrrrroooonnnnttttbbbb, bbbbaaaacccckkkkbbbbuuuu, and zzzzddddrrrraaaawwww to specify the destination.  All
  48.      coordinates are relative to the lower-left corner of the window.
  49.  
  50.      The result of rrrreeeeccccttttccccoooo is undefined if zzzzbbbbuuuuffffffffeeee is .TRUE., except when pixel
  51.      mode PPPPMMMMZZZZDDDDAAAATTTT is enabled (see ppppiiiixxxxmmmmoooodddd).  This special pixel mode, in
  52.      conjunction with stencil operation, can be used to implement rectangle
  53.      copies with depth buffering.
  54.  
  55.      rrrreeeeccccttttccccoooo always operates within the currently active framebuffer, as
  56.      specified by ddddrrrraaaawwwwmmmmoooo.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. rrrreeeeccccttttccccoooo((((3333GGGG))))                                                          rrrreeeeccccttttccccoooo((((3333GGGG))))
  71.  
  72.  
  73.  
  74.      rrrreeeeccccttttccccoooo leaves the current character position unpredictable
  75.  
  76. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  77.      pixmod, readso, rectzo, stenci
  78.  
  79. NNNNOOOOTTTTEEEESSSS
  80.      This subroutine is available only in immediate mode.
  81.  
  82.      The Live Video Digitizer option is available only on the IRIS-4D GTX.
  83.  
  84. BBBBUUUUGGGGSSSS
  85.      Pixel format is not considered during the copy.  For example, if you copy
  86.      pixels that contain color index data into an RGB window, the display
  87.      subsystem cannot correctly interpret it.
  88.  
  89.      On IRIS-4D GTX models the zoom factor is not applied when reading from
  90.      the Live Video Digitizer's frame buffer.
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.